#############################################################################
#############################################################################
#
# latexEngine.tcl (called from latex.tcl)
#
# The LaTeX engine
#
#############################################################################
#
# Author: Tom Scavo <trscavo@syr.edu>#
#############################################################################
#############################################################################
#————————————————————————–# Mark Menu:
#————————————————————————–
# Bugs: won't add a section (in a different chapter) with the same name.
# should ignore comments, but doesn't.
# a sectioning command must be on a line by itself.
proc TeXMarkFile
set pos 0
set leader
# set exp ^[^